package com.anycl.design.structural.decorator;

public class D3Play extends D3 {

    public D3Play(MediaPlay mediaPlay) {
        super(mediaPlay);
    }

    @Override
    public String getMediaName() {
        return mediaPlay.getMediaName() + "3D";
    }

    @Override
    public int getMediaSeconds() {
        return mediaPlay.getMediaSeconds();
    }

    @Override
    public String getMediaContent() {
        return mediaPlay.getMediaContent() + "3D";
    }
}
